Structural VARs have been extensively used in empirical macroeconomics during the last two decades, particularly in analyses of monetary policy. Existing Bayesian procedures for structural VARs are at best confined to a severly limited handling of cointegration restrictions. This paper extends the Bayesian analysis of structural VARs to cover cointegrated processes with an arbitrary number of cointegrating relations and general linear restrictions on the cointegration space. A reference prior distribution with an optional small open economy effect is proposed and a Gibbs sampler is derived for a straightforward evaluation of the posterior distribution. The methods are used to analyze the effects of monetary policy in Sweden.