The inflammatory environment mediated by a high-fat diet inhibited the development of mammary glands and destroyed the tight junction in pregnant mice.