A new compound containing a triene, a tetrahydropyran ring and glycine ester functionalities, restricticin B (1), together with four known compounds (2-5) were obtained from the EtOAc extract of the marine fungus Penicillium janthinellum. The planar structure of 1 was determined by detailed analyses of MS, 1D and 2D NMR data. The relative and absolute configurations of 1 were established via analyses of NOESY spectroscopy data, comparison of optical rotation values with those of restricticin derivatives reported and electronic circular dichroism (ECD). All the compounds were screened for their anti-neuroinflammatory effects in lipopolysaccharide (LPS)-induced BV-2 microglia cells. Restricticin B (1) and N-acetyl restricticin (2) exhibited anti-neuroinflammatory effects by suppressing the production of pro-inflammatory mediators in activated microglial cells.