MOSFET not fully OFF when Gate Voltage is 0V
For your connection to work,  you must have a common ground for the MOSFET and the Arduino. The MOSFET's Source must go to the common ground. Also your (12V) power supply's ground must be the same ground. 







simulate this circuit &ndash; Schematic created using CircuitLab