Most federal mandatory spending is spent on entitlement programs. Entitlement programs are social welfare programs that assist specific population segments. Together they account for nearly 50 percent of the federal budget, being the most important the Social Security and Medicare programs.