31P-NMR spectroscopy has been used to study the energy metabolism and the NMR visibility of ATP and intracellular Pi of the C6 glioma cell line and rat astrocyte grown on microcarrier beads with the following results. 1. In vivo NMR spectra of C6 glioma cells and rat astrocytes indicate that these cells were able to maintain their level of ATP resonances during a long anoxic period (more than an hour). Both cell types were sensitive to ischemia which induced a loss of ATP resonances within 40 min. Glucose starvation induced by 40% decrease in ATP resonances correlated to a 50% increase in the intensity of the Pi signal. These changes corresponded to a new steady state which could be reversed by reperfusing the cells with a glucose-containing medium. 2. In contrast to in vivo data, 31P-NMR analyses of perchloric acid extracts of cells incubated in a glucose-free medium showed that their ATP and Pi contents were unchanged during starvation. The changes of NMR visibility of the metabolites in living C6 cells were correlated to modifications of their macroscopic longitudinal relaxation times, evolving from 0.30 +/- 0.08 s and 6.6 +/- 1.5 s in the presence of glucose to 0.68 +/- 0.26 s and 3.2 +/- 0.9 s in the absence of glucose for ATP and Pi, respectively. The changes of the NMR detectability of ATP and Pi indicate that changes in their microenvironment occur during glucose starvation, suggesting the existence of different pools of these metabolites within the cells. 3. Under various experimental conditions, i.e. anoxia, ischemia and glucose starvation, rat astrocytes in primary culture showed a very similar behavior to that of C6 cells, suggesting a similar adaptability to the nature of the energy supply for both the normal and the malignant cell.