There are some criteria:

Quote
Passengers with a Known Traveler Number
Passengers who have been issued a Known Traveler Number (KTN) by TSA or CBP have generally undergone a vetting process or background check as part of their employment or via a DHS Trusted Traveler program. Since TSA knows more about these passengers they are more likely to be eligible for TSA PreCheck screening more often than passengers the agency knows less about.

TSA Initiatives

TSA has implemented several initiatives to allow more passengers to experience TSA PreCheck.

Managed Inclusion combines the use of multiple layers of security to indirectly conduct a real-time assessment of passengers at select airports. This initiative will operate at designated checkpoints at different times, depending on passenger volume and other variables.

Risk Assessments are conducted using TSA’s Secure Flight system to identify travelers who may be eligible for TSA PreCheck screening using information already collected and provided to TSA by the airlines. This program is used on a flight-by-flight basis and does not require passengers to enroll in a DHS Trusted Traveler program. If a passenger is eligible for TSA PreCheck for a particular flight, a TSA PreCheck indicator will be embedded in the barcode of the boarding pass so that when scanned at the checkpoint, the passenger may be referred to a TSA PreCheck lane.

Passengers who are deemed eligible for TSA PreCheck via one of these two TSA initiatives will receive TSA PreCheck screening on a flight-by-flight basis and should not expect it each time they fly.


(quote edited to remove checkmark and add "check" to "preCheck" 'cuz it wouldn't translate to this post)