A large number of dead harbor porpoises have been washing up on beaches in San Mateo County and elsewhere in the Bay Area this summer, and marine mammal experts are at a loss to explain what could be killing them.

A total of 24 harbor porpoises "12 males, 9 females, and three still in utero" have been discovered by beachcombers since early June, according to the Marine Mammal Center in Sausalito. More carcasses are likely to show up in August.

"It's the tip of the iceberg. These are open ocean animals. For every one we find dead there are probably many others that are out there," said Mary Jane Schramm, spokeswoman for the Gulf of the Farallones National Marine Sanctuary.

Harbor porpoises are not commonly tracked by the state and so little is known about where they feed or mate. Over time, state records show the mammals have a tendency to die during the summertime calving season, but they don't know why. The number of dead porpoises statewide peaked at 49 in 2005; the 24 collected so far this summer were found between Marin and San Luis Obispo counties.

The five porpoises that washed up in San Mateo County were found in Pacifica and along Thornton Beach in Daly City.

One unusual factor is the fact that the harbor porpoises were young and old, male and female, said Jim Oswald, a spokesman for the Marine Mammal Center.

Only one porpoise had obvious signs of trauma indicating that it had been hit by a boat or some other heavy object. A handful of other porpoises were given preliminary causes of death after a necropsy, such as pneumonia, asphyxiation and maternal separation, but these had little in common.

Veterinarians ordered toxicology tests for the remaining harbor porpoises. They will be looking for one particular potential cause of death.

"There's a possibility that it's domoic acid poisoning," said Oswald, referring to the toxin produced by a particular kind of algae that, if ingested, causes severe brain damage or death in marine mammals. Last year, domoic acid killed 10 percent of the sea lions necropsied by the Marine Mammal Center, the main destination for dead and stranded Bay Area mammals.

Domoic acid is just a working hypothesis for now, since the evidence for it is slim. The kind of harmful algal blooms that get out of control tend to occur in Southern California, where waters are warmer, and research done just this week by scientists with the Gulf of the Farallones National Marine Sanctuary found only small concentrations of it in the bay, Schramm said.

Previous tests have detected Pseudo-nitzschia, the type of algae that produces domoic acid, out in the ocean within the sanctuary's boundaries, but not enough to give the California Department of Public Health, which monitors it, any great cause for alarm.