Christian Winzcuk, 21, of Philadelphia and Hyeyeon Ju, 26, of Jenkintown were arrested and charged after the Tuesday night crash.
Police say the two were walking along the beach when one of them lost a cell phone. During the effort to find it, police say they drove a car up onto the boardwalk, using the headlights to illuminate the beach.
When they tried to drive off the boardwalk, police say they somehow lost control of the car and crashed through the railing.
In a photo released by Ocean City Police, the car could be seen on its side.
Both Winzcuk and Hyeyeon were treated for minor injuries. They face a number of charges, including DUI-related offenses.