In the case of an individual who is a first-time homebuyer of a principal residence in the United States during a taxable year, there shall be allowed as a credit against the tax imposed by this subtitle for such taxable year an amount equal to 10 percent of the purchase price of the residence.
(1) Dollar limitation
(A) In general
Except as otherwise provided in this paragraph, the credit allowed under subsection (a) shall not exceed $8,000.
(B) Married individuals filing separately
In the case of a married individual filing a separate return, subparagraph (A) shall be applied by substituting “$4,000” for “$8,000”.
(C) Other individuals
If two or more individuals who are not married purchase a principal residence, the amount of the credit allowed under subsection (a) shall be allocated among such individuals in such manner as the Secretary may prescribe, except that the total amount of the credits allowed to all such individuals shall not exceed $8,000.
(D) Special rule for long-time residents of same principal residence
In the case of a taxpayer to whom a credit under subsection (a) is allowed by reason of subsection (c)(6), subparagraphs (A), (B), and (C) shall be applied by substituting “$6,500” for “$8,000” and “$3,250” for “$4,000”.
(2) Limitation based on modified adjusted gross income
(A) In general
The amount allowable as a credit under subsection (a) (determined without regard to this paragraph) for the taxable year shall be reduced (but not below zero) by the amount which bears the same ratio to the amount which is so allowable as—
(i) the excess (if any) of—
the excess (if any) of—
(I) the taxpayer’s modified adjusted gross income for such taxable year, over
(II) $125,000 ($225,000 in the case of a joint return), bears to
(ii) $20,000.
(B) Modified adjusted gross income
For purposes of subparagraph (A), the term “modified adjusted gross income” means the adjusted gross income of the taxpayer for the taxable year increased by any amount excluded from gross income under section 911, 931, or 933.
(3) Limitation based on purchase price
No credit shall be allowed under subsection (a) for the purchase of any residence if the purchase price of such residence exceeds $800,000.
(4) Age limitation
No credit shall be allowed under subsection (a) with respect to the purchase of any residence unless the taxpayer has attained age 18 as of the date of such purchase. In the case of any taxpayer who is married (within the meaning of section 7703), the taxpayer shall be treated as meeting the age requirement of the preceding sentence if the taxpayer or the taxpayer’s spouse meets such age requirement.
(1) First-time homebuyer
The term “first-time homebuyer” means any individual if such individual (and if married, such individual’s spouse) had no present ownership interest in a principal residence during the 3-year period ending on the date of the purchase of the principal residence to which this section applies.
(2) Principal residence
The term “principal residence” has the same meaning as when used in section 121.
(3) Purchase
(A) In general
The term “purchase” means any acquisition, but only if—
(i) the property is not acquired from a person related to the person acquiring such property (or, if married, such individual’s spouse), and
(ii) the basis of the property in the hands of the person acquiring such property is not determined—
the basis of the property in the hands of the person acquiring such property is not determined—
(I) in whole or in part by reference to the adjusted basis of such property in the hands of the person from whom acquired, or
(II) under (relating to property acquired from a decedent).
(B) Construction
A residence which is constructed by the taxpayer shall be treated as purchased by the taxpayer on the date the taxpayer first occupies such residence.
(4) Purchase price
The term “purchase price” means the adjusted basis of the principal residence on the date such residence is purchased.
(5) Related persons
A person shall be treated as related to another person if the relationship between such persons would result in the disallowance of losses under section 267 or 707(b) (but, in applying and (c) for purposes of this section, paragraph (4) of shall be treated as providing that the family of an individual shall include only his spouse, ancestors, and lineal descendants).
(6) Exception for long-time residents of same principal residence
In the case of an individual (and, if married, such individual’s spouse) who has owned and used the same residence as such individual’s principal residence for any 5-consecutive-year period during the 8-year period ending on the date of the purchase of a subsequent principal residence, such individual shall be treated as a first-time homebuyer for purposes of this section with respect to the purchase of such subsequent residence.
(1) the taxpayer is a nonresident alien,
(2) the taxpayer disposes of such residence (or such residence ceases to be the principal residence of the taxpayer (and, if married, the taxpayer’s spouse)) before the close of such taxable year,
(3) a deduction under section 151 with respect to such taxpayer is allowable to another taxpayer for such taxable year, or
(4) the taxpayer fails to attach to the return of tax for such taxable year a properly executed copy of the settlement statement used to complete such purchase.
If the Secretary requires information reporting under section 6045 by a person described in subsection (e)(2) thereof to verify the eligibility of taxpayers for the credit allowable by this section, the exception provided by shall not apply.
(1) In general
Except as otherwise provided in this subsection, if a credit under subsection (a) is allowed to a taxpayer, the tax imposed by this chapter shall be increased by 6⅔ percent of the amount of such credit for each taxable year in the recapture period.
(2) Acceleration of recapture
If a taxpayer disposes of the principal residence with respect to which a credit was allowed under subsection (a) (or such residence ceases to be the principal residence of the taxpayer (and, if married, the taxpayer’s spouse)) before the end of the recapture period—
(A) the tax imposed by this chapter for the taxable year of such disposition or cessation shall be increased by the excess of the amount of the credit allowed over the amounts of tax imposed by paragraph (1) for preceding taxable years, and
(B) paragraph (1) shall not apply with respect to such credit for such taxable year or any subsequent taxable year.
(3) Limitation based on gain
In the case of the sale of the principal residence to a person who is not related to the taxpayer, the increase in tax determined under paragraph (2) shall not exceed the amount of gain (if any) on such sale. Solely for purposes of the preceding sentence, the adjusted basis of such residence shall be reduced by the amount of the credit allowed under subsection (a) to the extent not previously recaptured under paragraph (1).
(4) Exceptions
(A) Death of taxpayer
Paragraphs (1) and (2) shall not apply to any taxable year ending after the date of the taxpayer’s death.
(B) Involuntary conversion
Paragraph (2) shall not apply in the case of a residence which is compulsorily or involuntarily converted (within the meaning of ) if the taxpayer acquires a new principal residence during the 2-year period beginning on the date of the disposition or cessation referred to in paragraph (2). Paragraph (2) shall apply to such new principal residence during the recapture period in the same manner as if such new principal residence were the converted residence.
(C) Transfers between spouses or incident to divorce
In the case of a transfer of a residence to which section 1041(a) applies—
(i) paragraph (2) shall not apply to such transfer, and
(ii) in the case of taxable years ending after such transfer, paragraphs (1) and (2) shall apply to the transferee in the same manner as if such transferee were the transferor (and shall not apply to the transferor).
(D) Waiver of recapture for purchases in 2009 and 2010
In the case of any credit allowed with respect to the purchase of a principal residence after
(i) paragraph (1) shall not apply, and
(ii) paragraph (2) shall apply only if the disposition or cessation described in paragraph (2) with respect to such residence occurs during the 36-month period beginning on the date of the purchase of such residence by the taxpayer.
(E) Special rule for members of the armed forces, etc.
(i) In general
(I) paragraph (2) and subsection (d)(2) shall not apply to such disposition (or cessation), and
(II) if such residence was acquired before
(ii) Qualified official extended duty service
(I) a member of the uniformed services,
(II) a member of the Foreign Service of the United States, or
(III) an employee of the intelligence community.
(iii) Definitions
Any term used in this subparagraph which is also used in paragraph (9) of shall have the same meaning as when used in such paragraph.
(5) Joint returns
In the case of a credit allowed under subsection (a) with respect to a joint return, half of such credit shall be treated as having been allowed to each individual filing such return for purposes of this subsection.
(6) Return requirement
If the tax imposed by this chapter for the taxable year is increased under this subsection, the taxpayer shall, notwithstanding section 6012, be required to file a return with respect to the taxes imposed under this subtitle.
(7) Recapture period
For purposes of this subsection, the term “recapture period” means the 15 taxable years beginning with the second taxable year following the taxable year in which the purchase of the principal residence for which a credit is allowed under subsection (a) was made.
In the case of a purchase of a principal residence after
(1) In general
This section shall only apply to a principal residence purchased by the taxpayer on or after
(2) Exception in case of binding contract
In the case of any taxpayer who enters into a written binding contract before
(3) Special rule for individuals on qualified official extended duty outside the United States
In the case of any individual who serves on qualified official extended duty service (as defined in section 121(d)(9)(C)(i)) outside the United States for at least 90 days during the period beginning after
(A) paragraphs (1) and (2) shall each be applied by substituting “
(B) paragraph (2) shall be applied by substituting “