A man who attacked an elderly Queensland woman in her home has fled into the night after she hit him back.

The man entered the 80-year-old's central Queensland residence on Monday evening, demanding money and food.

Police say he hit her in the face and head but ran off when she fought back.

The woman was taken to hospital for injuries that weren't life threatening.

Police are asking anyone on Archer Street, Rockhampton, between 7pm (AEST) and 9pm that night to contact them.