Let Ω ⊂ R N be a bounded, smooth domain. We deal with the best constant of the Sobolev trace embedding W 1,p (Ω) → L q (∂Ω) for functions that vanish in a subset A ⊂ Ω, which we call the hole, i.e. we deal with the minimization problem S A = inf u p W 1,p (Ω) / u p L q (∂Ω) for functions that verify u| A = 0. It is known that there exists an optimal hole that minimizes the best constant S A among subsets of Ω of the prescribed volume.In this paper, we look for optimal holes and extremals in thin domains. We find a limit problem (when the thickness of the domain goes to zero), that is a standard Neumann eigenvalue problem with weights and prove that when the domain is contracted to a segment, it is better to concentrate the hole on one side of the domain.