Most cotton and linen onesies will shrink, especially if they were made of 100% cotton. Some pajamas already come preshrunk beforehand to prevent them from shrinking even further after washing them at home. Polyester is more resistant to shrinkage. However, using hot water will shrink this synthetic fabric, which is why cold water is always recommended for washing.