It’s a myth that the Federal Reserve is nonprofit. It earns billions of dollars per year through various financial functions; after expenses, most of the profits go straight to the Treasury.
Fed Up by Danielle DiMartino Booth (pg. 35)

It’s a myth that the Federal Reserve is nonprofit. It earns billions of dollars per year through various financial functions; after expenses, most of the profits go straight to the Treasury.