Although the forces behind the evolution of imperfect mimicry remain poorly studied, recent hypotheses suggest that relaxed selection on small-bodied individuals leads to imperfect mimicry. While evolutionary history undoubtedly affects the development of imperfect mimicry, ecological community context has largely been ignored and may be an important driver of imperfect mimicry. Here we investigate how evolutionary and ecological contexts might influence mimetic fidelity in Müllerian and Batesian mimicry systems. In Batesian hoverfly systems we find that body size is not a strong predictor of mimetic fidelity. However, in Müllerian velvet ants we find a weak positive relationship between body size and mimetic fidelity when evolutionary context is controlled for and a much stronger relationship between community diversity and mimetic fidelity. These results suggest that reduced selection on small-bodied individuals may not be a major driver of the evolution of imperfect mimicry and that other factors, such as ecological community context, should be considered when studying the evolution of imperfect mimicry.