The revenue paid to Social Security, from workers’ payroll withholdings, is invested in special U.S. Treasury bonds, by law, which the federal government must pay back with interest. So while the government in effect borrows from Social Security, it must pay back the money — and the interest also helps to keep the system going.