Steroid-tainted stars Mark McGwire, Barry Bonds, Roger Clemens and Sammy Sosa were denied entry to baseball’s Hall of Fame, with voters failing to elect any candidates for only the second time in four decades.

In a vote that keeps the game’s career home run leader and one of its greatest pitchers out of Cooperstown — at least for now — Bonds received just 36.2 percent of the vote and Clemens 37.6 in totals announced Wednesday by the Hall and the Baseball Writers’ Association of America, both well short of the 75 percent necessary. Sosa, eighth on the career home run list, got 12.5 percent. McGwire finished ahead of Sosa with 16.9%.

Player–Votes–%

Craig Biggio 388 68.2

Jack Morris 385 67.7

Jeff Bagwell 339 59.6

Mike Piazza 329 57.8

Tim Raines 297 52.2

Lee Smith 272 47.8

Curt Schilling 221 38.8

Roger Clemens 214 37.6

Barry Bonds 206 36.2

Edgar Martinez 204 35.9

Alan Trammell 191 33.6

Larry Walker 123 21.6

Fred McGriff 118 20.7

Dale Murphy 106 18.6

Mark McGwire 96 16.9

Don Mattingly 75 13.2

Sammy Sosa 71 12.5

Rafael Palmeiro 50 8.8