Research and development expenses are deductible the same year as incurred rather than capitalizing them. Included in R&D expenses is patent attorney fees in preparing, filing and prosecuting a patent application. More information is Here from the IRS. As always, see your accountant for professional tax advice!