In general, F-1 visa holders who have been in the US fewer than five years are not required to pay social security and Medicare taxes. However, all of your earnings are subject to federal, state and local taxes. You are required to file a tax return by Apr 15 each year, regardless of employed status.

Publication 519 is the IRS publication that helps to clarify tax laws for foreign nationals residing and/or working in the US.