We show that for every subset X of a closed surface M 2 and every x 0 ∈ X , the natural homomorphism ϕ : π 1 (X, x 0 ) →π 1 (X, x 0 ), from the fundamental group to the first shape homotopy group, is injective. In particular, if X M 2 is a proper compact subset, then π 1 (X, x 0 ) is isomorphic to a subgroup of the limit of an inverse sequence of finitely generated free groups; it is therefore locally free, fully residually free and residually finite.