While WD40 works for cleaning guns in a pinch, I wouldn’t recommend using it as part of your cleaning regimen. There are too many products that work better than WD40 and are designed specifically for cleaning guns.