St Johnstone made it six straight clean sheets in the league to maintain Britain's best defensive record but could only manage a 0-0 draw with Ayr despite creating a host of chances.
Keeper Kevin Cuthbert has still to concede a goal in the league and he was never troubled as Ayr did not test him once.
Saints won a host of corners as they dominated for long periods but they found home keeper Craig Nelson in top form.
Nelson's best stop came from a Paul Hartley free-kick and when he was beaten by a Ryan McCann header he was relieved to see Willie Lyle clear off the line.
Ayr's best effort came when keeper Cuthbert handled an Ian Maxwell back pass but Paul Sheerin fired over from James Grady's free-kick.
Saints claimed a penalty with three minutes to go when Keigan Parker went down under David Craig's challenge, but the sub was booked for diving.