Nepenthes macfarlanei (/nɪˈpɛnθiːz ˌmækfɑːrˈleɪniaɪ/; after John Muirhead Macfarlane, botanist) is a carnivorous pitcher plant species endemic to Peninsular Malaysia. It produces attractive red-speckled pitchers. Lower pitchers are ovoid or infundibular in the lower half and globose or cylindrical above and up to 25 cm high. Upper (aerial) pitchers are of a lighter colour with wings reduced to rubs. The lower surface of the lid is densely covered with short, white hairs. This is a characteristic morphological feature of this species, but at present its function is unknown.