The Covid-19 epidemic highlighted the significance of externalities: contacts with other people affect the chances of getting infected for our entire network. We study endogenous network formation where not only players or pairs but larger coalitions can, cooperatively change the network. We introduce a model for coalitional network stability for networks with widespread externalities. The network function form generalises the partition function form of cooperative games in allowing the network to be taken into account. The recursive core for network function form games generalises the recursive core for such environments. We present two simple examples to illustrate positive and negative externalities. The first is of a favour network and show that the core is nonempty when players must pay transfers to intermediaries; this simple setting also models economic situations such as airline networks. The second models social contacts during an epidemic and finds social bubbles as the solution.