The official was dismissed just days before his planned retirement on Sunday and two days before his 50th birthday, Fox News reported.
"I am being singled out and treated this way because of the role I played, the actions I took, and the events I witnessed in the aftermath of the firing of James Comey," McCabe said.
McCabe has said he considered his firing was because he supported former FBI Director James Comey's claim that Trump tried to urge him into killing a probe into Russian interference in the 2016 US election. Comey has told Congress he saved a detailed written record of his conversations with Trump.
Twitter has exploded after McCabe's dismissal.
#AndrewMcCabe: Thank you for your service to U.S. at #FBI for > 21 years!@realDonaldTrump: Shame on you #DonaldTrump for skewering #McCabe strickly 4 your vicious & sadistic pleasure. Start packing! You'll be escorted out of @WhiteHouse soon!@FBI @CNN @MSNBC @AP @thehill @UPI pic.twitter.com/sZBnsFfGdH— Sharon Carbine (@SharonCarbine) March 17, 2018
— Janna Harrell (@lovelyjanna) March 17, 2018
— OnWithLogic (@OnWithLogic) March 17, 2018
— Lucy James (@LucyKaos) March 17, 2018
— DONNA WARREN 🇺🇸 (@DonnaWR8) March 17, 2018
McCabe has long been a game of Trump's anger. His dismissal precedes the release of an inspector general report that's supposed to conclude that McCabe was not forthcoming about topics related to the FBI investigation of Hillary Clinton's emails.