In this paper, we study how solutions to elliptic problems withperiodically oscillating coefficients behave inthe neighborhood of the boundary of a domain. We extend theresults known for flat boundaries to domains with curved boundariesin the case of a layered medium. This is done by generalizing thenotion of boundary layer and by defining boundary correctors whichlead to an approximation of order ε in the energy norm.