Two teenagers have been charged after a wheelie bin fire in the early hours of Wednesday morning at a Toowoomba school sparked a bomb scare.

Emergency services were called to the Herries Street girls school in Newtown at 2am after members of the public discovered a wheelie bin on fire. On closer inspection, they also reported a suspicious object in a nearby garden.

Thanks to help from members of the public, police charged two 18-year-old men over the bomb hoax. Credit:Marina Neil/Fairfax Media

Officers took photos of the object and sent them to police bomb experts who concluded it wasn't a threat. It turned out to be an aerosol can.

After members of the public came forward with information and CCTV footage to help the police investigation, two 18-year-old Newtown men were charged over the incident.

They were due to appear in Toowoomba Magistrates Court on May 30.