1. Short title This Act may be cited as the Freedom from Discrimination in Credit Act of 2017 . 2. Prohibition against discrimination on account of sexual orientation or gender identity Subsection (a)(1) of section 701 of the Equal Credit Opportunity Act ( 15 U.S.C. 1691 ) is amended by inserting , sexual orientation, gender identity, after sex . 3. Definitions Section 702 of the Equal Credit Opportunity Act ( 15 U.S.C. 1691a ) is amended— (1) by striking subsections (f) and (g); and (2) by inserting after subsection (e) the following new subsections: (f) The term gender identity means the gender-related identity, appearance, or mannerisms or other gender-related characteristics of an individual, with or without regard to the individual’s designated sex at birth. (g) The term person means a natural person, a corporation, government or governmental subdivision or agency, trust, estate, partnership, cooperative, or association. (h) The terms race , color , religion , national origin , sex , sexual orientation , gender identity , marital status , or age , used with respect to an individual, includes— (1) the race, color, religion, national origin, sex, sexual orientation, gender identity, marital status, or age, respectively, of another person with whom the individual is associated or has been associated; and (2) a perception or belief, even if inaccurate, concerning the race, color, religion, national origin, sex, sexual orientation, gender identity, marital status, or age, respectively, of the individual. (i) The term sex includes— (1) a sex stereotype; (2) pregnancy, childbirth, or a related medical condition