In general, Cairns will dig. However, some are not interested in digging at all. It depends on the individual dog. By keeping the nails short, and with training, many of those who do dig can learn not to.  Never leaving a Cairn unattended in a fenced yard will insure your "digger" will not work those very strong front paws and get out under your fence!