The purpose of this study is to analyze the effects of taxpayer knowledge and taxation socialization on taxpayer compliance mediated by taxpayer awareness. This study uses purposive sampling for determining respondents from taxpayers of free workers registered in the west Semarang, Indonesia. Data is analyzed using regression and path analysis. The results of the study reveal that taxpayer knowledge and taxation socialization had a significant effect on taxpayer compliance and awareness. Taxpayer awareness further partially mediates the relationships between taxpayer knowledge and taxation socialization on taxpayer compliance. Therefore, for developing Indonesian economy, the government should provide an understanding that people are required to pay taxes voluntarily and with full awareness as good citizens.