Yes, the piezo works by turning vibration into an electrical signal and will work if placed under the saddles of a nylon string guitar. There are some specific piezo pickups used for nylon string guitars you could purchase