A 51-year-old man has been charged after police responded to reports of an armed person at a shopping centre in Morayfield, Queensland, on December 5.

Police were called to the shopping centre on Morayfield Road shortly before 7 p.m. after witnesses reported seeing a man carrying what appeared to be a handgun. Officers located and arrested the man without further incident.

The firearm was later determined to be a toy gun. The Caboolture man was charged with going armed so as to cause fear and was refused police bail.

He is scheduled to appear in Caboolture Magistrates Court on December 7. Queensland Police said there was no ongoing threat to public safety.