Cannot login to macbook pro due to keyboard not working. Mouse can move, but not click

To regain keyboard access to your machine to troubleshoot the fault and restore correct functionality, here are (2) options to get back into your machine:

Option 1: Wireless Keyboard

Buy a Wireless (USB) Keyboard which uses a USB dongle that looks like a USB Flash Drive that you can just insert into a USB port (or USB-C adapter) and it should "just work". This should enable you to regain the required access to troubleshoot the fault to restore normal keyboard functionality. A wireless Keyboard I like is:

  • Logitech K400 (Wireless)

Note: Although I initially suggested a Bluetooth keyboard in addition to the Wireless one, since it's not possible to "click" to add the Bluetooth device to your system this is a non-starter on a system broken in such a way as you describe.

Although I'm in Amsterdam at the mo' and unable to test it on my Macbook, I Googled and the k400 is Mac compatible. I actually use this one with Raspberry Pi's, but might need it when my own Macbook's keyboard craps-out ;-)

Option 2: Remote Access Via SSH (requires another computer)

When I’ve had issues with things like this in the past, I’ve gotten in remotely via SSH. If you can get into the machine via SSH, you can troubleshoot the fault as well as get files you require until the issue Is resolved. Could use a cheap £32 Raspberry Pi to get a terminal session going into the Mac with the broken keyboard.

This possible solution implies of course you’ve enabled the SSH access in your system preferences as below:

Enable SSH Step 1: Show in System Prefs

Enable SSH Step 2: Show Sharing dialog

Given the problems with Apple's keyboards these past few years, I don't doubt others might be having similar issues.

Finally, I'd suggest storing docs in iCloud (DropBox is also really good, but with the codicile that it's not integrated into Apple's ecosphere like iCloud) so you can access your data if you keep having grief with your keyboard-


The real question is: Is this a hardware failure or a software problem?

If it's a hardware problem, then you need to take it to an Apple Store or other authorised repair shop. There is currently a repair programme for known problems to some new models.
If you can get your hands on a USB keyboard, you can see whether that works, or if the problem remains.

If it's a software problem, then you need to do some detective work to see if some process is preventing keyboard input somehow. Keep Activity Monitor open, and see if anything is using excessive CPU or memory when the problem occurs. Uninstall any third-party software that might be controlling the system (Check the Privacy System Preference and see what is allowed in the Accessibility list.) See if the problem occurs in a brand new user account (This is a test, not a solution!)

With regard to losing your work, I would recommend an app like Forever Save2, which can be configured to auto-save each application's documents with different time intervals and versions.