A 2-year-old boy is on death’s door after his father assaulted him inside a Queens hotel being used as a homeless shelter, cops and law enforcement sources said Tuesday.

The victim suffered severe head trauma after his dad attacked him inside the Manhattan View Hotel on 21st St. near 38th Ave. in Long Island City, according to law enforcement.

Medics rushed the little boy to New York-Presbyterian Hospital Weill Cornell in critical condition, cops said.

The child suffered multiple skull fractures and substantial brain injury, including brain bleeding, and has undergone multiple surgeries, according to a law enforcement source.

An NYPD spokesman could not immediately provide a timeline for the attack.

Dayvon Morrison, 30, was taken into custody after the attack was reported Monday, cops said. He was charged Tuesday with assault, police said.