Carl
Level 15

Deductions & credits

Basically, there are five "eligibility requirements" that must be met. You can review each requirement and the details of each requirement in IRS publication 523 at https://www.irs.gov/pub/irs-pdf/p523.pdf  The individual requirements with details start on page 3 under the heading "Eligibility Test".