The Department of Sanitation helped one lucky Queens resident dig through piles of trash on Monday to find a wallet he accidentally threw in the garbage.

Avrohom Levitt’s grey wallet fell into a shopping bag in his car on Friday while he was celebrating Purim in Manhattan and he later dumped the bag in a trash can before heading home, he told The Post on Monday.

“The next morning, I try to find my wallet… and I can’t,” the 36-year-old Levitt said. “I felt disappointed and upset but at the same time I was trying to work on myself to have more faith and have a positive attitude.”

The real estate broker, who said he “tends to lose things a lot” had a tracking device inside his wallet for exactly this kind of situation.

The sanitation dept. held the truck containing Levitt’s wallet until Monday, when he followed it to the dump in Newark.

Once he was near the truck, Levitt tried to see if his app would recognize the device — but nothing.

So a sanitation worker dumped out 20 to 30 garbage bags gradually for Levitt to sift through — until he dug out his wallet — which contained $68 dollars in cash, some credit cards and his toddler’s passport card.

“We were literally on a pile of refuse and God lifted us up,” Levitt said. “I felt so excited I couldn’t believe it.”

After the noxious search, Levitt said he rushed to Neiman Marcus in the Garden State Plaza Mall to spray himself with pricey Creed Aventus cologne.

“I literally sprayed my whole body up,” he said, adding that his wallet, “still smells.”

Levitt, who desperately needed his credit cards for a trip to Poland Tuesday, expressed how grateful he was.

“I have a tremendous feeling of appreciation to everyone who was part of this,” he said. “They are the kindest and sweetest. Everyone was so kind and cheerful.”

The experience led Levitt to think about “the people who pick up the trash.”

“And to have interacted with them and have had such a positive experience with them, it brings a whole new appreciation,” he said.

The Sanitation Department, meanwhile, tweeted it was: “Our pleasure to assist.”