A dictionary key must be of a type that is immutable. So, types like integer, string, float, and boolean are acceptable, but types like lists or other dictionaries are not acceptable as keys.