Bridgeport is suing Fannie Mae and Freddie Mac.
City officials say the two mortgage giants failed to pay tax on real estate transactions.
Bridgeport filed the federal lawsuit Monday.
The city is challenging Fannie Mae and Freddie Mac's claim that they are exempt from paying an excise tax when real estate is sold.