Then you need to determine where this counter-emv is coming from, since that's obviously not normal.
It sounds like a ground problem.
You need to think about where the high ground current flows and follow good grounding and signal flow design.
Random connection of signal paths can result in random circuit operation.
- The 555 should be decoupled as I mentioned in post #39.
- The return ground from the MOSFET source should go directly to the supply common and that should be the only return to the supply. The 555 circuit ground connects to the MOSFET source terminal also (single point ground).
- You should have a decoupling capacitor (100μf or more) directly from the V+ solenoid connection to the MOSFET source terminal.
- Is the diode connected directly across the solenoid terminals?