diff --git a/src/ExprNode.cc b/src/ExprNode.cc
index 58d4d888584397d11f831f94bc4d9ca01bbebc40..7e0a814f7930a1f90c24edaa166018b13dd36e37 100644
--- a/src/ExprNode.cc
+++ b/src/ExprNode.cc
@@ -1212,7 +1212,7 @@ VariableNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
           exit(EXIT_FAILURE);
         }
     case SymbolType::unusedEndogenous:
-      cerr << "ERROR: You cannot use an unused endogenous variable in an expression" << endl;
+      cerr << "ERROR: You cannot use an endogenous variable in an expression if that variable has not been used in the model block." << endl;
       exit(EXIT_FAILURE);
     case SymbolType::externalFunction:
     case SymbolType::trend: