Different analgesic combinations with caffeine have shown this drug to be capable of increasing the analgesic effect. Many combinations with nonsteroidal anti-inflammatory drugs (NSAIDs) have been carried out, but, in regard to opioids, only combinations with morphine and tramadol have been reported. The antinociceptive synergism mechanism of these combinations is not well understood. The purpose of the present study was to determine the participation of spinal and supraspinal opioidergic and serotonergic systems in the synergic effect of the tramadol+caffeine combination in the rat formalin test. At the supraspinal level, the opioid antagonist, naloxone, completely reversed the effect of the drug combination, whereas ketanserin, a 5-HT2 receptor antagonist, inhibited the effect by 60%; however, ondansetron, a 5-HT3 receptor antagonist, did not alter the combination effect. When the antagonists were intrathecally administered, there was a significant reduction in all tramadol-caffeine combination effects. With respect to tramadol alone, there was significant participation of the opioid system at the supraspinal level, whereas it was the serotonergic system that participated at the spinal level by means of the two receptors studied. In conclusion, the tramadol+caffeine combination synergically activated the opioid and serotonergic systems at the supraspinal level, as well as at the spinal level, to produce the antinociception.