CoCoWa is a collaborative approach to detecting selfish nodes in mobile ad-hoc networks (MANETs) and delay tolerant networks (DTNs) that improves upon local watchdog approaches. It combines local watchdog detections with the dissemination of information about detected selfish nodes between nodes during contacts. This reduces the time and increases the precision of detecting selfish nodes by reducing the effects of false positives and negatives generated by local watchdogs. The paper presents an analytical model and experimental evaluation using mobility traces showing CoCoWa provides significantly faster and more accurate detection of selfish nodes with reduced overhead compared to traditional watchdog approaches.