WASHINGTON—Social Security’s costs are expected to exceed its income in 2020 for the first time since 1982, forcing the program to dip into its nearly $3 trillion trust fund to cover benefits.

The new projection, released Monday by the trustees of Social Security and Medicare, is rosier than one made in their 2018 annual report, which anticipated the program would run in the red by the end of last year.

The...