The invention discloses a novel composite material and a swing type friction nanometer generator using the material, the composite material is of a layered structure, and the composite material comprises a first electrode layer, an insulating layer, a second electrode layer, a PTFE friction layer, a third electrode layer, a BaTiO3 piezoelectric composite layer and a fourth electrode layer from top to bottom in sequence; the first electrode layer, the insulating layer, the second electrode layer and the PTFE friction layer are of an arch structure. The swing type friction nanometer generator comprises an adjusting support, an eccentric rotating wheel, a shell, a novel composite material, a rotating shaft and a bearing. The adjusting support comprises a base and an adjusting screw rod fixed on the base; the eccentric rotating wheel is arranged in the shell, the shell is fixed to the base, and the novel composite material adheres to the inner wall of the shell. The eccentric rotating wheel is composed of three solid blades and three hollow blades, and is fixed on the adjusting screw rod through a rotating shaft. The novel composite material provided by the invention simultaneously has triboelectric and piezoelectric characteristics, and can generate higher charge output when being rubbed by pressure.