A 53 year-old man has died after he got into difficulty in the water at Ogmore-by-Sea.
Emergency services were called to the scene at around 10.30am on Sunday morning.
South Wales Police said the man was recovered from the sea by RNLI crews and was pronounced dead at the scene.
He has not been named publicly, but his next of kin and the local coroner have been informed.
A spokesperson for HM Coastguard said the coastguard helicopter from St Athan was sent to the scene, along with rescue teams from Porthcawl, Llantwit Major and Port Talbot.
The RNLI called out lifeboat crews from Porthcawl and Barry Dock with the Welsh Ambulance Service and the Welsh Air Ambulance also in attendance.
The incident came during a yellow weather warning for strong winds across the Vale of Glamorgan and the rest of Wales, with gusts of around 50-60mph expected during Sunday.

Unsolved: fresh bid to find taxi driver's killer
Calls for Old Harbour reserve turned down
Barry man charged with assaulting police officers
Talks to be held on Cardiff Rugby sale
Barry Arts Festival returns with Waldo play
No decision yet on Barry wood plant
Plaid wins St Athan by-election
Council to relaunch street cleaning service
Petition supporting Tree Preservation Order reaches 1,000 signatures
Le Tour comes to Cardiff
Trampoline park owner avoids jail
Housing rent increase rubberstamped
Half-hourly Vale trains delayed again
Tax premiums retained for empty homes
15,000 'missing' women at risk of breast cancer
Council facing £6.6m budget gap
Porthkerry: grazing sheep attacked by dog