Ryde's King Lud has raised £600 for The Veterans Hub Isle of Wight Community Interest Company, supporting veterans who find themselves sleeping on the street.
To raise funds the pub's operator, Ben Reid, was joined by two local men - one a veteran - with the trio 'sleeping rough'.
The three men laid cardboard down on the pavement in front of the pub, which is based on Ryde's Esplanade, at 11pm and slept there until 7am.
During the night, they were subjected to heavy rain and other elements.
The funds raised were presented to Dale Hillier, chief executive and founding director of the local Veterans Hub.
Ben said:
“I am humbled we managed to raise that amount of money for our local Veterans hub, thankful to those who believe in this cause and to the people who joined me on this sponsored rough sleep.
"We had the chance to experience how tough sleeping outside is for those people, especially when it’s raining and there is water everywhere.”
The King Lud is planning to have another rough sleep later this year to continue its fundraising.