This paper presents a determining function of bridge foundation form with discriminant method according to parameters of bridge foundations and slopes in southwest mountain railways. The result can use for reference for bridge foundation design in rock slope.