Polymer-derived nanocomposite lubricants reduce friction and wear in applications involving elevated temperatures, such as within an internal combustion engine.