Both bacterial and viral infections can cause a lump to form under the chin. Many times, these lumps are swollen lymph nodes. Lymph nodes are part of the network of your immune system that help protect your body from illnesses. Many are located in the head and neck, including under the jaw and chin.