Quartz enhanced photoacoustic spectroscopy (QEPAS) is a rapidly developing, ultrasensitive method for trace gas sensing. Adequate electronic amplifier, well matched to the quartz characteristics is crucial for overall system performance. Here we present an open source circuit for QEPAS signal amplification. It consists of a buffer, instrumentation amplifier and digitally controlled gain stage. An experiment showed, that it offers signal to noise ratio of about 23 dB better than commonly used transimpedance amplifier. The use of this circuit provides opportunity to improve QEPAS sensitivity by about one order of magnitude.