A man has been arrested and charged with raping a woman in her 60s, west of Mackay.

A 21-year-old man has been charged with raping a woman in her 60s in central Queensland.

He was arrested on Wednesday night and charged with the rape, deprivation of liberty and entering a dwelling with intent, at a house west of Mackay on June 6.

He is due to appear in Mackay Magistrates Court on Thursday.