A McDonald’s employee was terminated for refusing to serve two paramedics while mistaking them for police officers.

Anthony Quinn, of Sunstar Paramedics, wrote on Facebook this week he had walked into the McDonald’s at Madeira Beach in Florida to use the restroom, but was denied by the employee.

According to a screenshot from ABC Action News, Mr Quinn’s post read: “An employee goes, ‘We don’t accept officers in here.’ I tell her I’m not an officer.

“She then says, ‘Anyone with a badge’, then says it to my partner as he walks in to order food, says, ‘We don’t serve your kind here.’ Just insane how people are.”

A corporate representative of McDonald’s did not immediately respond to Yahoo Lifestyle’s request for comment.

Caspers Company, which owns the Madeira Beach location, told Yahoo Lifestyle the company was “aware of the unfortunate incident that took place at one of our restaurants”.

A McDonald's (right) worker has been fired after refusing to serve a paramedic. Pictured left is a stock image of a paramedic. Source: Getty / ABC Action News. More

“We, like you, were upset and disappointed and took immediate action,” a company’s spokeperson said.

“The employee has been terminated. What occurred does not reflect the values of our brand, our franchise, or the love and admiration we have demonstrated consistently for our friends in law enforcement and first responders.

“We have reached out to offer our sincerest apology.”

The spokesperson told Yahoo Lifestyle the store respected law enforcement.

“We love, admire, and support them in any way we can. We do our best to be there for them when they need us as they are always there for us,” the spokesperson said.

Mr Quinn did not respond to Yahoo Lifestyle for comment.

He wrote on Facebook he regretted posting about the incident.

“There were other ways the situation could have been handled, that's my fault and I apologise. I understand the employee was terminated and McDonald's took appropriate action,” Mr Quinn said.

Do you have a story tip? Email: newsroomau@yahoonews.com.

You can also follow us on Facebook, download the Yahoo News app from iTunes or Google Play and stay up to date with the latest news with Yahoo’s daily newsletter. Sign up here.