We present a microscopic calculation of spectroscopic factors for neutron and proton removal from 24 O using the coupled-cluster method and a state-of-the-art chiral nucleon-nucleon interaction at next-to-next-to-next-to-leading order. In order to account for the coupling to the scattering continuum we use a Berggren single-particle basis that treats bound, resonant, and continuum states on an equal footing. We report neutron removal spectroscopic factors for the 23 O states J π = 1/2 + , 5/2 + , 3/2 − and 1/2 − , and proton removal spectroscopic factors for the 23 N states 1/2 − and 3/2 − . Our calculations support the accumulated experimental evidence that 24 O is a closed-shell nucleus.PACS numbers: 21.10.Jx, 21.60. De, 21.10.Pc, 31.15.bw, 24.10.Cn Introduction The study of nuclei far from stability is a leading direction in nuclear physics, experimentally and theoretically. It represents a considerable intellectual challenge to our understanding of the stability of matter itself, with potential implications for the synthesis of elements. An important aspect of this research direction is to understand how magic numbers and shells appear and evolve with increasing numbers of neutrons or protons. The structure and properties of barely stable nuclei at the limits of stability, have been demonstrated to deviate dramatically from the established patterns for ordinary and stable nuclei, see Ref.[1] and references therein for a recent review. One of the striking features of nuclei close to the drip line is the adjustment of shell gaps, giving rise to different magic numbers [2]. The way shell closures and single-particle properties evolve as functions of the number of nucleons forms one of the greatest challenges to our understanding of the basic features of nuclei, and thereby the stability of matter.The chain of oxygen isotopes up to 28 O is particularly interesting since these are the heaviest nuclei for which the drip line is well established. Two out of four stable even-even isotopes exhibit a doubly magic nature, namely 22 O (Z=8,N =14) and 24 O (Z=8, N =16). Several recent experiments [3-6] bring evidence that 24 O is the last stable oxygen isotope. This is remarkable, in particular if one considers the fact that the addition of a single proton on top of the Z = 8 closed shell brings the drip line of the fluorine isotopes to 31 F. Recent measurements [3] also suggest that 24 O has a spherical neutron configuration. The isotopes 25−28 O are all believed to be unstable towards neutron emission, even though 28 O is a doubly magic nucleus within the standard shell-model picture. This indicates that the magic number at the neutron drip line for the oxygen isotopes is not at N = 20 but rather at N = 16.Although spectroscopic factors are not observable quantities [9,10], they can be used to address shell closure properties within the context of a given model. Experimentally, spectroscopic factors are defined as the ratio of the observed reaction rate with respect to the same