Carditamera affinis is found in the eastern Pacific Ocean from California to Peru. It is also found in the Gulf of California and was one of the specimens collected there by John Steinbeck and Ed Ricketts, as recounted in The Log From The Sea Of Cortez. In 2012 a very similar looking species, Carditamera bajaensis, was split from C. affinis. Both species occur in the Gulf of California, but in different habitats. While C. affinis is epifaunal, that is it lives at the surface of the seabed on rocks and in crevices, C. bajaensis is infaunal or semi-infaunal, living completely or partly buried in sand, mud, or loose rocks. C. affinis is also found in the Galapagos Islands. This is a shallow-water species, living from the intertidal zone down to 27 meters (90 feet) deep.