A bomb-sniffing dog was alerted to a package addressed to “Donald Trump” at the Trump International Hotel in Midtown on Tuesday — but the parcel turned out to be dog food, sources said.

The package was delivered in an Amazon box and was spotted by hotel security on a loading dock shared by the Trump International and Millennium hotels at around 5 p.m., according to law enforcement sources.

A private security firm was alerted to the package by a bomb-sniffing dog — named Ben Franklin — before treating the parcel as suspicious, the sources said.

Normally, a dog sits on a package when the specially trained animal believes there is a powder or device inside.

The NYPD bomb squad arrived shortly after Ben Franklin sniffed the box and discovered the package did not contain an explosive device — but just canine cuisine.

“Maybe the dog was hungry,” a law enforcement source said.

It was not clear whether the dog food was for Trump or one of the pets in the building.