The law says that a business loss can produce a tax write-off as long as the owner is honestly trying to make a profit. The Tax Code provides a test for profit motive: If a venture doesn’t make money in at least three of five years, it is presumed to be a hobby, and not operated for profit.