Keystroke

A keystroke is the single pressing or clicking of a key on a computer's keyboard. Keystrokes per minute (KSPM) is a common measurement of typing speed in addition to words per minute (WPM). Some applications and websites also use keystrokes as event triggers.

Each keystroke on a keyboard sends a signal to the computer. This signal tells the computer which key the user pressed, how long they held it down, and whether it was pressed alone or with another key. Most keys on a keyboard will type a letter or symbol when clicked. Other keys, called modifier keys, do nothing when pressed on their own but trigger a keyboard shortcut when combined with another key. A computer's operating system receives the keystrokes, then either sends a command directly or passes the keystrokes to the application that currently has focus.

Certain types of software, called keyloggers, keep records of every keystroke a user makes on their computer. Some keyloggers have legitimate purposes, like assisting in software troubleshooting or product development feedback, but viruses and malware also often include keyloggers. These keyloggers monitor a computer user's activity secretly to steal passwords and other personal information, then report every keystroke to a remote computer.

Updated October 19, 2022

Definitions by TechTerms.com

The definition of Keystroke on this page is an original TechTerms.com definition. If you would like to reference this page or cite this definition, you can use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about the Keystroke definition or would like to suggest a new technical term, please contact us.

Want to learn more tech terms? Subscribe to the daily or weekly newsletter and get featured terms and quizzes delivered to your inbox.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.