A Thai rescuer died during an operation to save 12 boys and their soccer coach trapped inside a flooded cave complex, the latest setback for a mission fraught with danger as rescue teams brace for more rain that could delay their work.

Samarn Poonan, a former member of Thailand's elite Navy SEAL unit who was part of the rescue team in Chiang Rai, died on Thursday night after entering the cave to lay oxygen tanks along a potential exit route, the SEAL commander said.

"The conditions in the cave are tough," Adm. Apakorn Yuukongkaew, commander of the SEALS unit, told reporters on Friday.