The 1987 San Francisco 49ers season was the team’s 38th year with the National Football League. The 49ers won the division for the second consecutive season and ended the season as the top seed in the NFC playoffs. The season ended with an upset loss to the Minnesota Vikings in the divisional round of the playoffs.