Your home may be considered a primary residence even if you start renting it out in the middle of the year, but it depends on the length of time you lived there compared to how long you rented it out. According to the IRS, a home that is used for personal purposes during the tax year for more than the greater of 14 days or 10% of the total days rented to others is considered a residence.