We study ethnic discrimination in the sharing economy using the example of online carpooling marketplaces. Based on a unique data set of 16,624 real rides from Germany, we estimate the effects of drivers' perceived name origins on the demand for rides. The results show sizable ethnic discrimination - a discriminatory price premium of about 32 per cent of the average market price. Further analyses suggest that additional information about actors in this market decreases the magnitude of ethnic discrimination. Our findings broaden the perspective of ethnic discrimination by shedding light on subtle, everyday forms of discrimination in social markets, inform ongoing discussions about ways to address discrimination in an era in which markets gradually move online, and respond to increasingly recognized limitations of experimental approaches to study discrimination.