26 USC 1014 - Basis of property acquired from a decedent

(a) In general 
Except as otherwise provided in this section, the basis of property in the hands of a person acquiring the property from a decedent or to whom the property passed from a decedent shall, if not sold, exchanged, or otherwise disposed of before the decedents death by such person, be
(1) the fair market value of the property at the date of the decedents death,
(2) in the case of an election under either section 2032 or section 811(j) of the Internal Revenue Code of 1939 where the decedent died after October 21, 1942, its value at the applicable valuation date prescribed by those sections,
(3) in the case of an election under section 2032A, its value determined under such section, or
(4) to the extent of the applicability of the exclusion described in section 2031 (c), the basis in the hands of the decedent.
(b) Property acquired from the decedent 
For purposes of subsection (a), the following property shall be considered to have been acquired from or to have passed from the decedent:
(1) Property acquired by bequest, devise, or inheritance, or by the decedents estate from the decedent;
(2) Property transferred by the decedent during his lifetime in trust to pay the income for life to or on the order or direction of the decedent, with the right reserved to the decedent at all times before his death to revoke the trust;
(3) In the case of decedents dying after December 31, 1951, property transferred by the decedent during his lifetime in trust to pay the income for life to or on the order or direction of the decedent with the right reserved to the decedent at all times before his death to make any change in the enjoyment thereof through the exercise of a power to alter, amend, or terminate the trust;
(4) Property passing without full and adequate consideration under a general power of appointment exercised by the decedent by will;
(5) In the case of decedents dying after August 26, 1937, and before January 1, 2005, property acquired by bequest, devise, or inheritance or by the decedents estate from the decedent, if the property consists of stock or securities of a foreign corporation, which with respect to its taxable year next preceding the date of the decedents death was, under the law applicable to such year, a foreign personal holding company. In such case, the basis shall be the fair market value of such property at the date of the decedents death or the basis in the hands of the decedent, whichever is lower;
(6) In the case of decedents dying after December 31, 1947, property which represents the surviving spouses one-half share of community property held by the decedent and the surviving spouse under the community property laws of any State, or possession of the United States or any foreign country, if at least one-half of the whole of the community interest in such property was includible in determining the value of the decedents gross estate under chapter 11 of subtitle B (section 2001 and following, relating to estate tax) or section 811 of the Internal Revenue Code of 1939;
(7) In the case of decedents dying after October 21, 1942, and on or before December 31, 1947, such part of any property, representing the surviving spouses one-half share of property held by a decedent and the surviving spouse under the community property laws of any State, or possession of the United States or any foreign country, as was included in determining the value of the gross estate of the decedent, if a tax under chapter 3 of the Internal Revenue Code of 1939 was payable on the transfer of the net estate of the decedent. In such case, nothing in this paragraph shall reduce the basis below that which would exist if the Revenue Act of 1948 had not been enacted;
(8) In the case of decedents dying after December 31, 1950, and before January 1, 1954, property which represents the survivors interest in a joint and survivors annuity if the value of any part of such interest was required to be included in determining the value of decedents gross estate under section 811 of the Internal Revenue Code of 1939;
(9) In the case of decedents dying after December 31, 1953, property acquired from the decedent by reason of death, form of ownership, or other conditions (including property acquired through the exercise or non-exercise of a power of appointment), if by reason thereof the property is required to be included in determining the value of the decedents gross estate under chapter 11 of subtitle B or under the Internal Revenue Code of 1939. In such case, if the property is acquired before the death of the decedent, the basis shall be the amount determined under subsection (a) reduced by the amount allowed to the taxpayer as deductions in computing taxable income under this subtitle or prior income tax laws for exhaustion, wear and tear, obsolescence, amortization, and depletion on such property before the death of the decedent. Such basis shall be applicable to the property commencing on the death of the decedent. This paragraph shall not apply to
(A) annuities described in section 72;
(B) property to which paragraph (5) would apply if the property had been acquired by bequest; and
(C) property described in any other paragraph of this subsection.
(10) Property includible in the gross estate of the decedent under section 2044 (relating to certain property for which marital deduction was previously allowed). In any such case, the last 3 sentences of paragraph (9) shall apply as if such property were described in the first sentence of paragraph (9).
(c) Property representing income in respect of a decedent 
This section shall not apply to property which constitutes a right to receive an item of income in respect of a decedent under section 691.
(d) Special rule with respect to DISC stock 
If stock owned by a decedent in a DISC or former DISC (as defined in section 992 (a)) acquires a new basis under subsection (a), such basis (determined before the application of this subsection) shall be reduced by the amount (if any) which would have been included in gross income under section 995 (c) as a dividend if the decedent had lived and sold the stock at its fair market value on the estate tax valuation date. In computing the gain the decedent would have had if he had lived and sold the stock, his basis shall be determined without regard to the last sentence of section 996 (e)(2) (relating to reductions of basis of DISC stock). For purposes of this subsection, the estate tax valuation date is the date of the decedents death or, in the case of an election under section 2032, the applicable valuation date prescribed by that section.
(e) Appreciated property acquired by decedent by gift within 1 year of death 

(1) In general 
In the case of a decedent dying after December 31, 1981, if
(A) appreciated property was acquired by the decedent by gift during the 1-year period ending on the date of the decedents death, and
(B) such property is acquired from the decedent by (or passes from the decedent to) the donor of such property (or the spouse of such donor),

the basis of such property in the hands of such donor (or spouse) shall be the adjusted basis of such property in the hands of the decedent immediately before the death of the decedent.

(2) Definitions 
For purposes of paragraph (1)
(A) Appreciated property 
The term appreciated property means any property if the fair market value of such property on the day it was transferred to the decedent by gift exceeds its adjusted basis.
(B) Treatment of certain property sold by estate 
In the case of any appreciated property described in subparagraph (A) of paragraph (1) sold by the estate of the decedent or by a trust of which the decedent was the grantor, rules similar to the rules of paragraph (1) shall apply to the extent the donor of such property (or the spouse of such donor) is entitled to the proceeds from such sale.
(f) Termination 
This section shall not apply with respect to decedents dying after December 31, 2009.