The Federal Housing Finance Agency (FHFA) is the government agency that regulates Freddie Mac, as well as Fannie Mae and the Federal Home Loan Banks.