Social Security is primarily funded through payroll taxes under the Federal Insurance Contributions Act (FICA). Both employers and employees contribute a percentage of wages to fund Social Security. The current rate is 6.2% for employers and 6.2% for employees, up to a certain wage limit. This ensures that there are sufficient funds to provide benefits to current and future retirees.