Just after 4 p.m. Cape Air flight 1858 had to make that landing when the top window portion of the passenger door popped open.
The Cessna 402 aircraft is not pressurized and was at an altitude of about 4,000 feet.
In a statement from Cape Air the organization said the plane landed in Boston without incident and no one was hurt.
The president of Cape Air also allegedly reached out to each person on board to follow up after the scary situation.
The Cape Air maintenance department is now investigating the cause of the malfunction.