What is a foreign key? A foreign key is a key from another table that refers to (or targets) a primary key in the table being used. A primary key can be targeted by multiple foreign keys from other tables.