No. Foods don't cause IBS. But some foods may make you feel worse. Foods that may make symptoms worse include foods high in fat or caffeine. Fat and caffeine can cause your intestines to contract, which may cause cramping. Alcohol and chocolate may also make you feel worse. If gas is a problem for you, you might want to avoid foods that tend to make gas worse. These include beans, cabbage and some fruits.
Keeping a diary of what you eat and what your symptoms are for a few weeks may be a good way to find out if a food bothers you. If you think a food makes you feel worse, don't eat it. But don't cut out foods unless they have caused you problems more than once.