The alarm was raised when the companion of the stranded man waded back to Staithes from a spot called Short Sand half a mile north of Staithes.
As the lifeboat located the casualty, two members of the RNLI volunteer crew swam ashore from the lifeboat. The man was successfully helped from the rocks back to the boat and transferred back to the Staithes RNLI boathouse.
The two men, both from North Yorkshire, had set off with the intention of exploring a disused tunnel which opens onto the shore and was once part of the old Boulby alum works.
They were wet and cold from their ordeal but unharmed.
Sean Baxter, Deputy Launch Authority at the station, said: 'We cannot emphasise strongly enough how important it is to know the tide times before walking on the foreshore on either side of Staithes. And to let people know where and when you are going.These are very dangerous stretches.'
The RNLI charity saves lives at sea. Its volunteers provide a 24-hour search and rescue service around the United Kingdom and Republic of Ireland coasts. The RNLI operates 238 lifeboat stations in the UK and Ireland and more than 240 lifeguard units on beaches around the UK and Channel Islands. The RNLI is independent of Coastguard and government and depends on voluntary donations and legacies to maintain its rescue service. Since the RNLI was founded in 1824, its lifeboat crews and lifeguards have saved over 146,000 lives.