A novel approach to nanoscale detection of cell wall porosity using confocal fluorescence microscopy is described. Infiltration of cell walls with a range of nitrophenyl-substituted carbohydrates of different molecular weights was assessed by measuring changes in the intensity of lignin fluorescence, in response to the quenching effect of the 4-nitrophenyl group. The following carbohydrates were used in order of increasing molecular weight; 4-nitrophenyl β-D-glucopyrano-side (monosaccharide), 4-nitrophenyl β-D-lactopyranoside (disaccharide), 2-chloro-4-nitrophenyl β-D-maltotrioside (trisaccharide), and 4-nitrophenyl α-D-maltopentaoside (pentasaccharide). This technique was used to compare cell wall porosity in wood which had been dewatered to 40% moisture content using supercritical CO2, where cell walls remain fully hydrated, with kiln dried wood equilibrated to 12% moisture content. Infiltration of cell walls as measured by fluorescence quenching, was found to decrease with increasing molecular weight, with the pentasaccharide being significantly excluded compared to the monosaccharide. Porosity experiments were performed on blocks and sections to assess differences in cell wall accessibility. Dewatered and kiln dried wood infiltrated as blocks showed similar results, but greater infiltration was achieved by using sections, indicating that not all pores were easily accessible by infiltration from the lumen surface. In wood blocks infiltrated with 4-nitrophenyl α-D-maltopentaoside, quenching of the secondary wall was quite variable, especially in kiln dried wood, indicating limited connectivity of pores accessible from the lumen surface.