The victims, ages 23 and 26, were not seriously injured in the attack at the Travelodge at 1707 Market St., located at the intersection of Valencia Street.

The suspect, described as a man dressed in all black who wore a ski mask and hoodie, attacked the 26-year-old woman from behind after she stepped out of the hotel room around 2 a.m., San Francisco police spokesman Officer Carlos Manfredi said.

The suspect strangled her before tying her hands behind her back, Manfredi said.

The thug then brought the victim to her hotel room and knocked on the door. Her 23-year-old friend answered, and the suspect forced his way inside, pushing the hand-bound victim in with him, Manfredi said.

He rummaged through the victims’ belongings. At one point, he struck the 23-year-old over the head with his handgun numerous times.

He stole cash, a MacBook and two cellphones before fleeing.

Responding police called for an ambulance but the woman who was pistol-whipped declined medical treatment, Manfredi said.

Investigators have few leads in the case and consider this crime difficult to solve, given the vague description of the suspect offered by the victims.

The victims could only say that he is a black man standing about 5-feet and 8-inches, Manfredi said. Police also could not locate any surveillance camera footage at the hotel.

The victims were not San Francisco residents, police said. Manfredi said it was not clear whether the women were tourists.

An employee at the Travelodge confirmed the attack later Tuesday morning. She asked not to be named in this report. The guests checked out of their room right after the attack, she said.

“This is the first time this has happened [at the hotel],” she said. “I wish they had some kind of identification of him. Unfortunately we’re located on a busy street.”

Police say this appears to be an isolated incident. Manfredi said he hasn’t heard of any similar attacks at San Francisco hotels.