The federal tax treatment of costs incurred in a patent lawsuit depends on the nature of the claim. Patent lawsuit costs generally are required to be capitalized by IRS regulations if they are incurred for the defense or perfection of title to the patent. However, case law has established that these costs normally are deductible if they are incurred to protect against infringement of the patent.