However, the Equal Credit Opportunity Act (ECOA), a federal law intended to prevent discrimination in lending, does not allow lenders to discriminate against people age 62 or over. The ECOA requires creditors using a scoring system to give those aged 62 and older an age-factor score at least as high as the best score given to anyone under age 62.