It is widely accepted that activation of NMDA receptors (NMDAR) is necessary for the formation of fear memories in the basolateral amygdala complex (BLA). This acceptance is based on findings that blockade of NMDAR in the BLA disrupts Pavlovian fear conditioning in rodents when initially innocuous stimuli are paired with aversive and unexpected events (surprising foot shock). The present study challenges this acceptance by showing that the involvement of NMDAR in Pavlovian fear conditioning is determined by prediction errors in relation to aversive events. In the initial experiments, male rats received a BLA infusion of the NMDAR antagonist, D-AP5 and were then exposed to pairings of a novel target stimulus and foot shock. This infusion disrupted acquisition of fear to the target when the shock was surprising (experiments 1a, 1b, 2a, 2b, 3a, and 3b) but spared fear to the target when the shock was expected based on the context, time and other stimuli that were present (experiments 1a and 1b). Under the latter circumstances, fear to the target required activation of calcium-permeable AMPAR (CP-AMPA; experiments 4a, 4b, and 4c), which, using electrophysiology, were shown to regulate the activity of interneurons in the BLA (experiment 5). Thus, NMDAR activation is not required for fear conditioning when danger occurs as expected given the context, time and stimuli present, but is required for fear conditioning when danger occurs unexpectedly. These findings are related to current theories of NMDAR function and ways that prediction errors might influence the substrates of fear memory formation in the BLA.