The U.S. Treasury Department released its federal budget data on Monday. The budget deficit turned into a surplus of $51.8 billion in June from a deficit of $82.4 billion in May.
Analysts had expect a surplus of $51 billion.
Receipts in June totalled $342.9 billion, while outlays were $291.2 billion.