A popular model of legal socialization contends that interactions with authority figures impact the internalization of pro-social values and beliefs, including authority legitimacy. Simultaneously, subcultural theories, including the code of the street, emphasize that negative contextual and experiential factors promote subcultural beliefs. The current study examines whether legal socialization processes are associated with the development of subcultural beliefs. Using longitudinal data from approximately 1,200 adolescent male offenders, we examined whether social experiences and contextual characteristics influence the development of individual beliefs in the code of the street through police legitimacy and legal cynicism. Consistent with theoretical expectations, the effects of deleterious neighborhood characteristics and negative interactions with authority figures were associated with beliefs in the code of the street through diminished police legitimacy and higher levels of cynicism toward the law. These findings provide evidence of the relevance of legal socialization processes for the development of subcultural norms.