Yes, Keylogger software is legal if you want to install it on your PC to track your activities. It all depends on your choice to install a keylogger on your PC or not. However, installing a keylogger on another person’s device can require some permissions or admin rights.