Using a simulation analysis we show that non-trading can cause an overstatement of the observed illiquidity ratio. Our paper shows how this overstatement can be eliminated with a very simple adjustment to the Amihud illiquidity ratio. We find that the adjustment improves the relationship between the illiquidity ratio and measures of illiquidity calculated from transaction data. Asset pricing tests show that without the adjustment, illiquidity premia estimates can be understated by more than 17% for NYSE securities and by more than 24% for NASDAQ securities