The last year there was a federal surplus was in 2001.
(Please use a modern browser to see the interactive version of this visualization)