The seaweed fly, Coelopa frigida, exhibits LMSP. A large chromosomal inversion system affects many traits including egg-to-adult viability via heterosis. Consequently, there is also considerable potential for cryptic female mate choice to operate on the basis of sperm karyotype. Here, we investigated the effect of time interval and chromosomal inversion karyotype on postcopulatory sexual selection. Homokaryotypic females were mated with a male of the same and a male of the opposite homokaryotype. The order of the matings was varied so cryptic female mate choice could operate either in concert or antagonistically with LMSP. LMSP was found when there was a 24 h time interval between matings, irrespective of the order in which the males were mated. However, when the males were mated in quick succession the order of mating was important. When LMSP and cryptic female mate choice work in concert a high level of LMSP was found. However, when the male of opposite homokaryotype mated first, then first male sperm precedence was observed. This suggests that polyandrous females might be able to bias paternity but only when matings occur in quick succession. Consequently, population density is likely to affect the operation of postcopulatory sexual selection. Heredity (2005) 95, 174-178.