Summary Second-stage juveniles (J2) of Meloidogyne species are known to be repelled by several compounds. Although such repellents could serve for nematode control, effective, practical and sustainable repellents are unknown. The present study tested instant coffee crystals (ICC) and a methanolic extract of spent coffee grounds (SCG) for their repellency against, and infection inhibition of, J2 of Meloidogyne species on agar plate assays. J2 of Meloidogyne javanica, M. hapla and M. marylandi were repelled by the SCG extract and ICC. When ICC were mixed with chemical J2 attractants, their attractiveness to M. javanica J2 was reduced or abolished. ICC and the SCG extract deposited near lettuce seedling roots on the agar plate reduced the number of M. javanica, M. incognita, and M. hapla J2 attracted to the root tips by 84.3-96.4%, decreased infection rates by 37.5-75.0%, and increased root length 1.3- to 2.8-fold compared to seedlings grown on the non-treated side of the same plate. Thoroughly mixing the SCG extract into the plated agar reduced the number of J2 of the three species attracted to lettuce root tips by 46.7-98.6% and the infection rate by 87.5-95.8%, and increased the root length of the seedlings up to 2.8-fold, although no nematicidal effect was found. The same SCG-treated agar plate reduced the attraction of M. javanica J2 to a chemical attractant. The results suggest that ICC and the SCG extract have repellent and infection-inhibitory activity against Meloidogyne J2 and are potential control means for Meloidogyne species.