Nanographene, nanosized fragments of graphene, has edge-shape-dependent electronic structures different from those of infinite size graphene. Around the zigzag-shaped edges of a nanographene sheet, a nonbonding edge state of ³-electron origin is created, which is the origin of electronic and chemical activities of nanographene. In addition, the strongly spin-polarized edge state has localized spin, giving magnetic activity. We investigate the magnetic properties of nanoporous activated carbon fibers consisting of a three-dimensional disordered network of nanographite domains, each of which is a stack of 34 nanographene sheets, in relation to hostguest interaction. Chemically inert guest species such as water, organic solvent, or argon, physisorptively condensed into the nanopores mechanically compress the nanographite domains, resulting in high spin/low spin magnetic switching of the edge-state spins. The presence of an energy gap and the nanographene edges decorated by oxygen-containing functional groups make nanographene less amphoteric, modifying charge-transfer mechanisms in the hostguest interaction. HNO 3 shows a two-step charge-transfer process. In Br adsorption, physisorbed Br species cooperate with charge-transfer Br species, giving an interesting interplay of charge transfer and magnetic switching phenomena. In the K adsorption, physisorbed K atoms form antiferromagnetic K clusters in the nanopores, while a portion of K species are responsible for charge transfer. The reaction with fluorine creates magnetic ·-dangling bond states, at the expense of the ³-conjugated electron system. The interplay between the edge-state spins and the ·-dangling bond spins gives a variety of magnetism depending on the fluorine concentration.