Inositol polyphosphate kinases play important roles in diverse cellular processes. In this study, the function of an inositol polyphosphate kinase gene homolog named ThIPK2 from a dicotyledonous halophyte Thellungiella halophila was investigated. The deduced translation product (ThIPK2) shares 85% identity with the Arabidopsis inositol polyphosphate kinase AtIPK2β. Transient expression of ThIPK2-YFP fusion protein in tobacco (Nicotiana tabacum) protoplasts indicates that the protein is localized to the nucleus and plasma membrane, with a minor localization to the cytosol. Heterologous expression of ThIPK2 in ipk2Δ (also known as arg82Δ), a yeast mutant strain that lacks inositol polyphosphate multikinase (Ipk2) activity, rescued the mutant's salt-, osmotic- and temperature-sensitive growth defects. Semi-quantitative reverse transcription polymerase chain reaction (RT–PCR) revealed ubiquitous expression of ThIPK2 in various tissues, including roots, rosette leaves, cauline leaves, stem, flowers and siliques, and shoot ThIPK2 transcript was strongly induced by NaCl or mannitol in T. halophila as exhibited by real-time PCR analysis. Transgenic expression of ThIPK2 in Brassica napus led to significantly improved salt-, dehydration- and oxidative stress resistance. Furthermore, the transcripts of various stress responsive marker genes increased in ThIPK2 transgenic plants under salt stress condition. These results suggest that ThIPK2 is involved in plant stress responses, and for the first time demonstrate that ThIPK2 could be a useful candidate gene for improving drought and salt tolerance in important crop plants by genetic transformation.