In this short note we prove the existence and uniqueness of solutions to semilinear differential equations with nonlocal conditions in a Banach space, first in the case of a nondensely defined operator and second in intermediate Banach spaces. In both cases, we use the contraction mapping principle.