A Toronto man trying to write off casino and racetrack losses against his income tax bill has gambled and lost at Canada's Federal Court of Appeal.

Giuseppe Tarascio claims that gambling is how he earns the bulk of his income. He filed tax returns for several years, claiming both his wins and losses.

By day, Tarascio is a technician with Bell Canada. But on evenings and weekends, he responds to what he claims is his true calling: horses, slot machines, casino games and lotteries. 

He claims to have won tens of thousands of dollars. For years he claimed those winnings as income, but he also deducted his losses and expenses.

In his income tax returns for 2002 and 2003, he deducted from his gambling winnings his losses and associated expenses: $40,933 in 2002 and $56,000 in 2003.

But Tarascio’s luck ran out when the Canada Revenue Agency (CRA) stepped in and disallowed those deductions.

Tarascio objected and went to tax court. He presented his books and records, but lost there too.

No 'systematic method,' court rules

Hoping his courtroom losing streak would end, Tarascio pushed his luck further, taking his case to the Court of Appeal.

He claimed that his degree in mathematics — coupled with his experience in probability theory — gave him the expertise to register his gambling as a business.

But the court turned him down, saying Tarascio had no "systematic method" for gambling and had spent no time practising his skills. He was also required to pay court costs of $1,000.

You can read the court decision here.

It didn't help that Tarascio admitted that win or lose, it was really the thrill that drove him to the tables.

Colin Campbell, who teaches tax law at the University of Western Ontario, said the test of whether or not gambling losses are a legitimate writeoff depends on whether it’s a personal or commercial activity.

"That's the dividing line," said Campbell. "And in the case of gambling, the courts have generally found that gambling is predominately a personal activity."

Tarascio didn't want to talk about the decision when contacted by CBC News.

Asked if he planned to appeal to the Supreme Court, he said no. That would require a lawyer, but Tarascio said he can’t afford one.

With files from CBC's Maureen Brosnahan