A Highway Patrol helicopter lifted the unconscious, 17-year-old from the rocks near Muir Beach around 7:15 p.m. The trouble started around 5:45 when the teens were walking on the beach and a riptide overcame them.
The girl's two companions ended up being taken to Marin General Hospital to for evaluation. It appears a Good Samaritan was also stuck in the water for a while.
The U.S. Coast Guard, CHP, Marin County firefighters, and U.S. Park Police all took part in the rescue.
Here's a reminder about water safety from the U.S. Coast Guard:
"The Coast Guard would like to remind anyone who is going on the beach to be cautious of rip currents, rogue waves, and walking on the rocks, even during a seemingly calm day. These conditions can be magnified without warning, which can increase the threat of being swept out to sea. If you are caught in a rip current, swim parallel to the shore and do not panic. Remember to conserve energy and wave for help if someone is on the beach. Be conscientious of your children and keep them in sight at all times. Only swim in areas which lifeguards are on duty. The Coast Guard highly encourages swimmers, surfers and other people doing activities, on or near the water, to always go with a friend and to notify somebody else of where you are going and when you will return."