No, WD-40 is not a cleaning solvent and can damage your firearm. Use a cleaning solvent specifically designed for firearms.