It depends on the temperature you are smoking at, but generally speaking, it takes about 5-6 hours to smoke ribs.  If you are smoking at a higher temperature, it will take less time, and if you are smoking at a lower temperature, it will take longer.