Acute and chronic pain conditions are often debilitating, inflicting severe physiological, emotional and economic costs and affect a large percentage of the global population. However, the development of therapeutic analgesic agents based primarily on targeted drug development has been largely ineffective. An alternative approach to analgesic development would be to develop low cost, high throughput, untargeted animal based behavioral screens that model complex nociceptive behaviors in which to screen for analgesic compounds. Here we describe the development of a behavioral based assay in zebrafish larvae that is effective in identifying small molecule compounds with analgesic properties. In a place aversion assay, which likely utilizes supraspinal neuronal circuitry, individually arrayed zebrafish larvae show temperature-dependent aversion to increasing and decreasing temperatures deviating from rearing temperature. Modeling thermal hyperalgesia, the addition of the noxious inflammatory compound and TRPA1 agonist allyl isothiocyanate sensitized heat aversion and reversed cool aversion leading larvae to avoid rearing temperature in favor of otherwise acutely aversive cooler temperatures. We show that small molecules with known analgesic properties are able to inhibit acute and/or sensitized temperature aversion.