In the rules it says resistance doesn't stack with spells but if I get resistance from my race and if I have resistance with my class (Ex: Efreeti bloodline) does the resistance stacks?
Does energy resistance from the class and race stack
pathfinder-1eresistancestacking
Related Solutions
No, natural armor bonuses don't stack
improves armor class resulting from a creature's naturally tough hide. Natural armor bonuses stack with all other bonuses to armor class (even with armor bonuses) except other natural armor bonuses. Some magical effects (such as the barkskin spell) grant an enhancement bonus to the creature's existing natural armor bonus, which has the effect of increasing the natural armor's overall bonus to armor class. A natural armor bonus doesn't apply against touch attacks.
In the case of the sorcerer's draconic bloodline power dragon resistances, the natural armor bonus increases as the sorcerer gains levels. Other natural armor bonuses less than or equal to this amount are ignored, and if the sorcerer gets a higher natural armor bonus from a source other than his dragon resistances, he'll ignore his dragon resistances natural armor bonus in favor of the newer, higher one.
For example, a creature like a kobold that begins play with a +1 natural armor bonus to Armor Class and that is also a Sor3 still has but a +1 natural armor bonus to Armor Class (the natural armor bonus from his race and dragon resistances overlapping) but the creature still gains other benefits of the bloodline's powers.1 When the creature becomes a Sor9, he'll have a +2 natural armor bonus to Armor Class, his dragon resistances even more completely superseding his racial natural armor bonus to Armor Class.
1 Keep in mind, though, that the creature does, in fact, actually have both bonuses even though both can't be used. Were the creature to lose its race (perhaps upon being the target of the spell reincarnate), dragon resistances would still apply. Were the creature to retrain its levels of sorcerer to another class, the creature would keep its racial +1 natural armor bonus to Armor Class. Having both of this race and this ability, however, means the two effects overlap.
Spell and racial energy resistances don't stack.
As specified in the rules about Energy Resistance :
A creature with resistance to energy has the ability (usually extraordinary) to ignore some damage of a certain type per attack, but it does not have total immunity. [...] This resistance does not stack with the resistance that a spell might provide.
Therefore, in your example, the racial resistance will be replaced by Resist Energy for the spell duration.
Best Answer
No
Energy Resistance needs to say whether it stacks and, if so, with which other resistances it stacks. The rules text about Energy Resistance is fairly short, but in general you can assume that it is meant to work like the more detailed Damage Reduction mechanic. These two abilities are basically two sides of the same coin, one representing defense against energy damage types and the other against physical damage types.
Sometimes abilities tell you to increase a resistance, but this isn't the case with the Efreeti bloodline either.
So in the end your highest energy resistance applies.
However, In some situations it might be useful to keep details in mind about your energy resistances, for example:
Unless you want to keep a redundant resistance, consider exchanging a racial energy resistance trait for an alternate racial trait, if you intend a build that gives you the same energy resistance from another source. For example, a Tiefling could exchange his Fiendish Resistance with the Scaled Skin trait: