Encoding specificity is the principle that the effectiveness of retrieval cues depends on how well they match the original encoding context of the information. When we learn something, it is encoded in a specific context, which can include various factors like our mood or the environment. The better the match between the retrieval cues and the context in which information was encoded, the easier it is to retrieve that information later.