We study the problem of the upper critical field (Hc2 ) for tight-binding electrons in a phase with stripes. Carrying out calculations for finite systems we analyze the influence of the external field in the commensurable
and incommensurable case on an equal footing. The upper critical field is discussed for anisotropic intersite pairing as a function of the width of stripe. We show that the upper critical field increases with a decrease of
the width of stripe. This effect is of particular importance close to the superconducting transition temperature