  We obtain improved fractional Poincar\'e and Sobolev Poincar\'e inequalities
including powers of the distance to the boundary in John, $s$-John domains and
H\"older-$\alpha$ domains, and discuss their optimality.
