Police have closed part of the A165 near the A1039 Scarborough Road junction due to a technical failure at the level crossing.
The part of the A165 road between Scarborough and Bridlington has closed while the level crossing failure awaiting repair. Police are currently diverting traffic towards Muston.
While the lights are flashing to warn drivers a train is approaching, the barrier is not coming down.
Network rail are aware of the failure.