Evidence of processing costs for unexpected words presented in place of a more expected completion remains elusive in the eye-movement literature. The current study investigated whether such prediction error costs depend on the source of constraint violation provided by the prior context. Participants' eye movements were recorded as they read predictable words and unpredictable alternatives that were either semantically related or unrelated in three-sentence passages. The passages differed in whether the source of constraint originated solely from the global context provided by the first two semantically rich sentences of the passage, from the local context provided by the final sentence of the passage, from both the global and local context, or from none of the three sentences of the passage. The results revealed the expected processing advantage for predictable completions in any constraining context, although the relative contributions of the different sources of constraint varied across the time course of word processing. Unpredictable completions, however, did not yield any processing costs when the context constrained toward a different word, instead producing immediate processing benefits in the presence of any constraining context. Moreover, the initial processing of related unpredictable completions was enhanced further by the provision of a supportive global context. Predictability effects therefore do not appear to be determined by cloze probability alone but also by the nature of the prior contextual constraint especially when they encourage the construction of higher-level discourse representations. The implications of these findings for understanding existing theoretical models of predictive processing are discussed.